<template>
  <div class="GongGao">
    <div class="box">
      <!--      <div class="top">-->
      <!--        <img src="../assets/img/phoneTop.png" alt="">-->
      <!--        <p>-->
      <!--          <img src="../assets/img/lJianTou.png" alt="" style="width:0.08rem; margin-left: 0.15rem;" @click="up">-->
      <!--          <span>收件材料</span>-->
      <!--          <img src="../assets/img/souSuo.png" alt="" style="width:0.16rem;height: 0.16rem; margin-left:1.2rem;">-->
      <!--        </p>-->
      <!--      </div>-->
      <NavBarTop
        pageTit="公示公告"
        :needPhoneTop="false"
        :needZanC="true"
      ></NavBarTop>
      <div class="content">
        <div class="item">
          <p>公共租赁住房房源公示</p>
          <span>{{ date }}</span>
        </div>
        <div class="item">
          <p>关于开展人才安居公共租赁住房分配工作的公告</p>
          <span>{{ date }}</span>
        </div>
        <div class="item">
          <p>公共租赁住房房源公示</p>
          <span>{{ date }}</span>
        </div>
        <div class="item">
          <p>关于开展人才安居公共租赁住房分配工作的公告</p>
          <span>{{ date }}</span>
        </div>
        <div class="item">
          <p>公共租赁住房房源公示</p>
          <span>{{ date }}</span>
        </div>
        <div class="item">
          <p>关于开展人才安居公共租赁住房分配工作的公告</p>
          <span>{{ date }}</span>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import dayjs from "dayjs";
import NavBarTop from "@/components/navBar.vue";
export default {
  data() {
    return {
      date: dayjs(new Date()).format("YYYY/MM/DD"),
    };
  },
  components: {
    NavBarTop,
  },
  methods: {
    up() {
      this.$router.go(-1);
    },
  },
};
</script>
<style scoped>
.GongGao {
  background-color: #fff;
}
.box {
  width: 3.75rem;
  background-color: #f0f2f5;
}
.top {
  position: relative;
  width: 3.75rem;
  height: 0.88rem;
  background-color: #ffffff;
}
.top > img {
  position: absolute;
  width: 3.75rem;
}
.top > p {
  position: absolute;
  font-size: 0.16rem;
  margin-top: 0.55rem;
  text-align: center;
}

.top > p > span {
  margin-left: 1.3rem;
}
.content {
  width: 3.73rem;
  /*height: 7.18rem;*/
  margin-top: 0.06rem;
  background-color: #ffffff;
  padding-top: 0.2rem;
}
.item {
  width: 3.45rem;
  height: 0.57rem;
  border-bottom: 1px solid#F2F3F5;
  display: flex;
  flex-direction: column;
  margin-left: 0.15rem;
  margin-top: 0.2rem;
}
.item:first-child {
  margin-top: 0;
}
.item > p {
  margin: 0;
  font-size: 0.14rem;
}
.item > span {
  font-size: 0.1rem;
  margin-top: 0.1rem;
}
</style>
